package zli.builder.chain;

/**
 * @Desc
 * @Author Zerlinda
 * @Date 2022/5/10 14:42
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder builder = new CourseBuilder();

        // 链式编程
        builder.addName("设计模式")
                .addPpt("【PPT课件】")
                .addVideo("【录播视频】");

        System.out.println(builder.builder());
    }
}
